﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ActionSystem.Input
{
    public interface IInputHandler
    {
        /// <summary>
        /// 检测按键按下
        /// </summary>
        /// <param name="key">按键</param>
        /// <returns></returns>
        bool KeyDown(int key);
        /// <summary>
        /// 摇杆推动
        /// </summary>
        /// <param name="key"></param>
        /// <returns></returns>
        Vector2 Stick(int key);        
    }
}

